package com.ce.webframework.sec.service.impl;

import java.util.List;

import com.ce.webframework.sec.model.SecDragTargetDO;
import com.ce.webframework.sec.service.ISecDragTargetService;
import com.ce.webframework.sec.dao.ISecDragTargetDao;
import com.sitechasia.webx.core.service.impl.BaseService;

/**
 * 拖动源manager
 *
 */
public class SecDragTargetServiceImpl extends BaseService implements ISecDragTargetService {

	private ISecDragTargetDao secDragTargetDao;

	/**
	 * 设置容器dao
	 * @param secDragTargetDao 容器dao
	 */
	public void setSecDragTargetDao(ISecDragTargetDao secDragTargetDao) {
		this.secDragTargetDao = secDragTargetDao;
	}

	/**
	 * 功能描述:取得容器集
	 * @param type  类型
	 * @param epId  企业标识
	 * @return SecDragTargetDO 集合
	 */
	public List<SecDragTargetDO> getDragTarget(String type, Long epId){

		System.out.println("SecDragTargetServiceImpl type:" + type);
		return secDragTargetDao.getDragTargets(type, epId);

	}

}
